/**
 * @description 获取环境
 */
export const getEnv = (): string | undefined => process.env.NODE_ENV
/**
 * @description 是否是开发模式
 */
export const isDevMode = (): boolean => process.env.NODE_ENV === "development"

/**
 * @description 是否是生产环境
 */
export const isPordMode = (): boolean => process.env.NODE_ENV === "production"

export const PROD = "production"

export const DEV = "development"

/**
 * 是否需要mock
 */
export const isUseMock = (): boolean => process.env.VUE_APP_USE_MOCK === "true"
